<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:a="http://richfaces.org/a4j" template="/layout/template.xhtml">
	<ui:define name="center">
		<h:form id="frm_SoldTickets">
			<rich:extendedDataTable id="table_SoldTickets"
				value="#{soldTicket.soldTickets}" var="st" width="100%"
				sortMode="single">
				<rich:column id="col_customer" sortable="true" width="20%" sortBy="#{st.customerName}"
					label="#{soldTicketmsgs['soldTicket.customer']}">
					<f:facet name="header">
						<h:outputText value="#{soldTicketmsgs['soldTicket.customer']}" />
					</f:facet>
					<h:outputText value="#{st.customerName}" />
				</rich:column>
				<rich:column id="col_from_to" sortable="true" width="20%" sortBy="#{st.from_To}"
					label="#{soldTicketmsgs['soldTicket.from_to']}">
					<f:facet name="header">
						<h:outputText value="#{soldTicketmsgs['soldTicket.from_to']}" />
					</f:facet>
					<h:outputText value="#{st.from_To}" />
				</rich:column>
				<rich:column id="col_quantity" sortable="true" width="20%" sortBy="#{st.quantity}"
					label="#{soldTicketmsgs['soldTicket.quantity']}">
					<f:facet name="header">
						<h:outputText value="#{soldTicketmsgs['soldTicket.quantity']}" />
					</f:facet>
					<h:outputText value="#{st.quantity}"/>
				</rich:column>
				<rich:column id="col_price" sortable="true" width="20%" sortBy="#{st.price}"
					label="#{soldTicketmsgs['soldTicket.price']}">
					<f:facet name="header">
						<h:outputText value="#{soldTicketmsgs['soldTicket.price']}" />
					</f:facet>
					<h:outputText value="#{st.price}"/>
				</rich:column>
				<rich:column id="col_status" sortable="true" width="20%" sortBy="#{st.status}"
					label="#{soldTicketmsgs['soldTicket.status']}">
					<f:facet name="header">
						<h:outputText value="#{soldTicketmsgs['soldTicket.status']}" />
					</f:facet>
					<h:outputText value="#{st.status}"/>
				</rich:column>
			</rich:extendedDataTable>
			<br/>
		</h:form>
		<ui:remove>
		<ui:include src="ticketModalPanel.xhtml">
		</ui:include>
		</ui:remove>
	</ui:define>
</ui:composition>